<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>login</title>
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_1566355_d9invjgxptk.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.2/lib/index.css">
    <link rel='stylesheet' href="css/login.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>

<body>
    <div class="container">
        <!--顶头框start-->
        <div id="header-title">
            <header class="header">
                <div class="header-wrap">
                    <div class="left">
                        <a class="header-ico ui-link" href="index.html">
                            <i class="ico ico-back-black"></i></a>
                    </div>
                    <div class="header-title" id="top-title">
                        <h2>登录</h2>
                        <span class="register">注册</span>
                    </div>
                </div>
            </header>
        </div>
        <!--顶头框end-->
        <!--登录框start-->
        <form id="loginUser">
            <div class="moblie-field">
                <input class="input-left-margin" id="username" placeholder="请输入用户名">
                <input class="input-right-margin" id="password" placeholder="请输入您的密码">
                <div class="forgot-password">
                    <span id="login-forgot-password-btn">忘记密码？</span>
                </div>
            </div>

            <div class="user-login">
                <a href="personalcenter.html"><input type="button" id="userLogin" value="确定">
                </a>

            </div>
        </form>
        <!--登录框end-->
    </div>
    </div>
</body>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@2.2/lib/vant.min.js"></script>
<script src="script/SHA1.js"></script>
<script src="script/api.js"></script>
<script>

</script>
<!-- <script>
    apiready = function () {
        if (username != "admin" && password != "123") {
            alert("用户名或密码错误");
        } else {
            window.location.href = 'personnalcenter.html';
        }
    }
</script> -->

</html>